package com.lyp.lease.web.admin.vo.apartment;

import com.lyp.lease.model.entity.ApartmentInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@Data
@Schema(description = "后台管理系统公寓列表实体")
public class ApartmentItemVo extends ApartmentInfo {
    // ApartmentInfo里的属性
    /*
        "id": 0,
        "name": "",
        "introduction": "",
        "districtId": 0,
        "districtName": "",
        "cityId": 0,
        "cityName": "",
        "provinceId": 0,
        "provinceName": "",
        "addressDetail": "",
        "latitude": "",
        "longitude": "",
        "phone": "",
        "isRelease": "",

	*/
    @Schema(description = "总房间数")
    private Long totalRoomCount;

    @Schema(description = "空闲房间数")
    private Long freeRoomCount;

}
